package cn.wolfcode.wms.query;

import cn.wolfcode.wms.domain.BaseDomain;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

@Getter@Setter
public class ProductStockQueryObject extends QueryObject{

    private String keyword;
    private Long depotId = -1L;
    private Long brandId = -1L;

    //库存阈值
    private BigDecimal threshold ;

   public String getKeyword(){

       return empty2Null(keyword);
   }
}
